﻿using Esosi.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

namespace Esosi.Repository.Models
{
    public class PaySum
    {
        public InvoicePayMode InvoicePayMode { get; set; }
        public List<SortSum> SortSums { get; set; } = new List<SortSum>();
        public decimal FeeSum { get; set; }
    }

    public class SortSum
    {
        ///// <summary>
        ///// 支付模式
        ///// </summary>
        //public PayMode PayMode { get; set; }

        /// <summary>
        /// 政策费用类型
        /// </summary>
        public long PolicyFeeTypeCode { get; set; }

        /// <summary>
        /// 核算类型
        /// </summary>
        public long ReckoningTypeCode { get; set; }

        /// <summary>
        /// 接口费用类型
        /// </summary>
        public int IFeeTypeCode { get; set; }

        /// <summary>
        /// 接口报销类型（0:医保可报1:医保不可报2:干保不可报3:特批）
        /// </summary>
        public string IApplyStatus { get; set; }

        /// <summary>
        /// 费用流水号
        /// </summary>
        public long FeeId { get; set; }

        public decimal FeeAmount { get; set; }

        public SortSum Clone()
        {
            return this.MemberwiseClone() as SortSum;
        }
    }
}